package cn.sxjzit.officlal.common;

import lombok.Getter;

@Getter

public enum ResutlCodeEnum {
    SUCCESS(200, "成功"),
    FAIL(201, "失败"),
    SERVER_ERROR(501, "服务器异常"),
    DATA_ERROR(204, "数据异常"),
    LOGIN_AUTH(208, "未登陆"),
    PERMISSION(209, "没有权限");
    private Integer code;
    private String message;

    ResutlCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
